
//动态加载图片
const getAssetsFile = (name) => {
  return new URL(`../assets/icons/${name}.png`, import.meta.url).href
}

export default {
  'list': [
    {
      id: 'often',
      name: '常用工具',
      collection: [
        {
          icon: 'https://res.wx.qq.com/a/wx_fed/assets/res/NTI4MWU5.ico',
          name: '微信公众平台',
          link: 'https://mp.weixin.qq.com/'
        },
        {
          icon: 'https://lf1-cdn-tos.bytegoofy.com/obj/goofy/developer/open_platform_master/favicon.ico',
          name: '抖音开放平台',
          link: 'https://developer.open-douyin.com/'
        },
        {
          icon: 'https://www.baidu.com/favicon.ico',
          name: '百度智能小程序',
          link: 'https://smartprogram.baidu.com/developer/index.html'
        },
        {
          icon: 'https://app.netlify.com/favicon.ico',
          name: 'netlify网站托管',
          link: 'https://app.netlify.com/'
        },
        {
          icon: 'https://assets.vercel.com/image/upload/front/favicon/vercel/favicon.ico',
          name: 'vercel网站托管',
          link: 'https://vercel.com/dashboard'
        },
        {
          icon: 'https://github.githubassets.com/favicons/favicon.svg',
          name: 'Github Trending',
          link: 'https://github.com/trending'
        },
        {
          icon: 'https://www.bootcdn.cn/assets/ico/favicon.ico?1644166305141',
          name: 'BootCDN',
          link: 'https://www.bootcdn.cn/'
        },
        {
          icon: 'https://caniuse.com/img/favicon-128.png',
          name: '兼容性查询',
          link: 'https://caniuse.com/'
        },
       
        {
          icon: 'https://static.json.cn/r/img/favicon/favicon.ico',
          name: 'json在线解析',
          link: 'https://www.json.cn/'
        },
        {
          icon: 'https://any86.github.io/any-rule/icon.png',
          name: '正则大全',
          link: 'https://any86.github.io/any-rule/'
        },
        {
          icon: 'https://static.clewm.net/static/images/favicon.ico',
          name: '草料二维码',
          link: 'https://cli.im/'
        },
        {
          icon: 'https://www.d777.com/icon/fangdai.png',
          name: '房贷计算器',
          link: 'https://gjj.d777.com/'
        },
        {
          icon: 'https://www.aconvert.com/favicon.ico',
          name: '文件格式转换',
          link: 'https://www.aconvert.com/cn/'
        },
        {
          icon: 'https://csstools.chinaz.com/favicon.ico',
          name: '站长工具',
          link: 'https://tool.chinaz.com/'
        },
        {
          icon: 'https://datav.aliyun.com/favicon.ico',
          name: '阿里云地图',
          link: 'https://datav.aliyun.com/portal/school/atlas/area_selector'
        },
      ]
    },
    {
      id: 'img',
      name: '图片处理',
      collection: [
        {
          icon: 'https://tinypng.com/images/favicon.ico',
          name: '图片压缩',
          link: 'https://tinypng.com/'
        },
        {
          icon: 'https://www.pickwant.com/favicon.ico',
          name: '趣作图',
          link: 'https://www.pickwant.com/home'
        },
        {
          icon: 'https://www.designevo.com/templates/designevosite/favicon.ico',
          name: 'logo设计',
          link: 'https://www.designevo.com/cn/logo-maker/'
        },
      ]
    },
    {
      id: 'css',
      name: 'css工具',
      collection: [
        {
          icon: '',
          name: '贝塞尔曲线',
          link: 'https://cubic-bezier.com/#.17,.67,.83,.67'
        },
      ]
    },
    {
      id: '图标',
      name: '图标',
      collection: [
        {
          icon: 'https://img.alicdn.com/imgextra/i2/O1CN01ZyAlrn1MwaMhqz36G_!!6000000001499-73-tps-64-64.ico',
          name: 'iconfont',
          link: 'https://www.iconfont.cn/'
        },
      ]
    },
  ]
}